class RecommendMvItem {
  final List artists;
  final String picUrl;
  final String name;
  final int playCount;

  const RecommendMvItem({
    required this.name,
    required this.artists,
    required this.picUrl,
    required this.playCount,
  });
}

List<RecommendMvItem> parseRecommendMvItem(Map<String, dynamic> json) {
  final List<dynamic> mv = json['result'] ?? [];
  return mv.map((item) {
    return RecommendMvItem(
      artists: item['artists'] ?? [],
      picUrl: item['picUrl'] ?? '',
      name: item['name'] ?? '',
      playCount: item['playCount'] ?? 0,
    );
  }).toList();
}
